// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/combination.scss'
// import '@/styles/variable.scss'

// 弹窗拖动
import '@/utils/directives.js'
import store from './store'
import storeVuex from './store/vuex.js'

Vue.use(ElementUI,{ size: 'small'});
Vue.config.productionTip = false

Vue.prototype.$storeVuex = storeVuex

// 监听router
// router.afterEach((to,from)=>{
//   console.log("这router变化前")
//   console.log(to)
//   console.log(from) 
// })
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
